package com.yihusitian.zsxq.controller;

import com.yihusitian.zsxq.service.HtmlGenerateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description TODO
 * @Author LeeHo
 * @Date 2021/3/26 12:40
 */
@RestController
@RequestMapping("/htmlgenerate")
public class HtmlGenerateController {

    @Autowired
    private HtmlGenerateService htmlGenerateService;

    @RequestMapping("/doit")
    public String generateTopicHtml() {
        htmlGenerateService.doGenerateHtml();
        return "SUCCESS";
    }


}